package com.example.service;

import com.example.pojo.PageResult;
import com.example.pojo.Student;
import com.example.pojo.StudentQueryParam;

import java.util.List;

/**
 * @Auther: Sun
 * @Date: 2025/9/22 - 09 - 22 - 18:49
 * @Description: com.example.service
 */
public interface StudentService {
    PageResult<Student> list(StudentQueryParam studentQueryParam);

    void delete(List<Integer> ids);

    void insert(Student student);

    Student getById(Integer id);

    void updateById(Student student);

    void violation(Integer id, Integer score);
}
